<template>
	<el-container>
			<el-main class="nopadding">
				<scTable ref="table" :data="tableData" stripe remoteSort remoteFilter>
					<el-table-column label="#" type="index" width="50"></el-table-column>
					<el-table-column label="类型" prop="typeName" width="200"></el-table-column>
					<el-table-column label="督查领导" prop="leadUserName" width="100"></el-table-column>
					<el-table-column label="事件总数" prop="zsCount" width="100"></el-table-column>
					<el-table-column label="办理中" prop="doinCount" width="100"></el-table-column>
					<el-table-column label="延期中" prop="delayCount" width="100"></el-table-column>
					<el-table-column label="已办结" prop="endCount" width="200"></el-table-column>
				</scTable>
			</el-main>
		</el-container>
</template>

<script>
export default {
	name: 'Analysis Supervision By Type',
	components: {
	},
	data() {
		return {
			tableData:[]
		}
	},
	watch: {
	},
	mounted() {
		this.getQuerySupervisionForType();
	},
	methods: {
		//加载树数据
		async getQuerySupervisionForType(){
			var res = await this.$API.supervision.analysis.getQuerySupervisionForType.get();
			if(res.code=='200')
			{
				this.tableData = res.data;
			}else {
				this.$alert(res.message, "提示", {type: 'error'})
			}
		},
	}
}
</script>

<style>
</style>
